package com.kong.consulapi.vo;

import java.io.Serializable;

/**
 * @author gedachao
 * @description
 * @date 2020-08-14 16:54
 */
public class BaseGenericOutputDTO<T> implements Serializable {

    private static final long serialVersionUID = -764620203151170498L;
    private String status;
    private int code;
    private T data;

    public BaseGenericOutputDTO() {
    }

    public BaseGenericOutputDTO(String status, int code, T data) {
        this.status = status;
        this.code = code;
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
